home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000121_ishikawa@yk.rim.or.jp_Sat May 31 17:33:05 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  59 lines

  1. Article: 14346 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail
  3. From: Ishikawa <ishikawa@yk.rim.or.jp>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: ftp DIR times out
  6. Date: Sun, 01 Jun 2003 06:26:46 +0900
  7. Organization: Ye 'Ol Disorganized NNTPCache groupie
  8. Lines: 35
  9. Message-ID: <3ED91E16.1F55E438@yk.rim.or.jp>
  10. References: <669ac511.0305281547.1cec3194@posting.google.com> <zGgBa.77352$h42.24210@twister.nyc.rr.com>
  11. NNTP-Posting-Host: pl1058.nas911.n-yokohama.nttpc.ne.jp
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=iso-2022-jp
  14. Content-Transfer-Encoding: 7bit
  15. X-Trace: news.rim.or.jp 1054416659 30866 210.139.43.34 (31 May 2003 21:30:59 GMT)
  16. X-Complaints-To: root@rim.or.jp
  17. NNTP-Posting-Date: Sat, 31 May 2003 21:30:59 +0000 (UTC)
  18. X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20 i686)
  19. X-Accept-Language: ja, en
  20. Cache-Post-Path: duron!unknown@localhost
  21. X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
  22. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14346
  23.  
  24. "Jeffrey Altman [Road Runner NYC]" wrote:
  25. > FTP requires the use of two sockets.  One for the command channel and
  26. > one for the data channel.  Your attempt to establish the data channel is
  27. > being blocked.  Most likely your firewall is configured to block
  28. > outbound connections to arbitrary ports.
  29. > You will need to configure Kermit to use an HTTP Proxy Server or SOCKS.
  30.     ...[omissin]...
  31.  
  32. I thought I was going to write why not use PASV mode of ftp originally.
  33.  
  34. But then I got curious and tried to see how I enabled PASV mode
  35. inside Kermit. I found that KERMIT indeed uses/issues PASV mode
  36. internally 
  37. without being told so.
  38.  
  39. Since use of PASV requires the
  40. cooperation of ftp server in question (some ftp servers may not
  41. be configured to allow PASV or doesn't support PASV
  42. at all), use of PASV does not solve firewall problem always.
  43. (I just found out that my ISP's ftp doesn't seem to grok PASV.)
  44.  
  45. So, for the original question, 
  46. it is indeed good if HTTP Proxy Server and/or SOCKS proxy
  47. is available or that the firewall is a flexible and
  48. powerful one such as Firewall-1, etc..
  49.  
  50.  
  51. -- 
  52. int main(void){int j=2003;/*(c)2003 cishikawa. */
  53. char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
  54. char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
  55. while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
  56. (putchar(t[j])));return 0;}/* under GPL */
  57.